<%@ page import="org.ljx.taobao.controller.LoginServlet" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    if (LoginServlet.rgs()){
        response.sendRedirect("commodity.jsp");
    }else {
        out.print("<script>alert(\"您输入的用户名或密码有误请重新输入！！！\")</script>");
    }
%>
<form action="login.jsp" method="post">
    <button>重新登录</button>
</form>
</body>
</html>

